import request from '@/utils/request'

export function getBase64(data) {
  console.log(data, 'kkkkkkkkkkkkkkkkkkk')
  return request({
    url: '/api/electronic-material/getBase64',
    method: 'post',
    data
  })
}

export function deleteFile(data) {
  return request({
    url: '/api/electronic-material/deleteFile',
    method: 'post',
    data
  })
}

export default { getBase64, deleteFile }
